.water {
  width: calc(100% -48px);
  height: calc(100% -48px);
  padding: 24px;
  overflow-x: hidden;
  :global(.van-stepper__plus) {
    background-color: #1989fa !important;
  }
  :global(.van-stepper__minus) {
    color: #1989fa;
    border-color: #1989fa;
  }
  .input {
    &:global(.van-cell) {
      padding: 0 16px !important;
    }
  }
  :global(.van-cell__value) {
    display: flex;
    align-items: center;
    padding: 0 16px;
  }
}

.water-viewport {
  padding: 8px;
  border-radius: 8px;
  box-shadow: 0 0 5px 0 #ccc;
  display: flex;
  justify-content: space-evenly;
  &.water-viewport-disabled {
    * {
      filter: grayscale(100%);
    }
  }
  .water-viewport-content {
    // flex: 1;
    padding: 0 12px;
    p {
      padding-left: 16px;
      span {
        font-weight: bolder;
      }
    }
  }
}

.water-dev {
  display: flex;
  align-items: center;
  > img {
    width: 40px;
    padding: 0 8px;
    &:last-child {
      transform: rotateY(180deg);
    }
  }
  > i {
    flex: 1;
    height: 0px;
    border: 1px dashed #cdcdcd;
  }
}

.water-operation {
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}

.model {
  :global(.van-dialog__header) {
    padding: 16px 0;
    color: #fff;
    background: #20a5de;
  }
  .model-list {
    height: 160px;
    margin-bottom: 24px;
    overflow: auto;
  }
}

.slider-container {
  position: relative;
  padding: 32px 0px;
  margin: 0 16px;
  > .slider-text {
    min-width: 24px;
    height: 24px;
    text-align: center;
    line-height: 24px;
    color: #1989fa;
    transform: translateX(-12px);
    position: absolute;
    top: -12px;
    left: 0;
    z-index: 1000;
    &::after {
      content: '';
      display: block;
      width: 0;
      height: 0;
      border: 6px solid #1989fa;
      position: absolute;
      top: 22px;
      left: 50%;
      transform: translateX(-50%);
      border-bottom-color: transparent;
      border-left-color: transparent;
      border-right-color: transparent;
    }
  }
  > .slider-text-down {
    color: #ee0a24;
    top: 56px;
    &::after {
      border: 6px solid #ee0a24;
      position: absolute;
      top: -12px;
      left: 50%;
      transform: translateX(-50%);
      border-top-color: transparent;
      border-bottom-color: #ee0a24;
      border-left-color: transparent;
      border-right-color: transparent;
    }
  }
}

.flower-desc {
  padding: 12px 8px;
  color: #555;
  font-size: 12px;
  line-height: 24px;
  text-indent: 20px;
}
